#coding:utf-8
from flask_wtf import FlaskForm
from wtforms import StringField
from wtforms.validators import DataRequired


class LoginForm(FlaskForm):
    username = StringField('username', validators=[DataRequired(message='请输入名户名')])
    password = StringField('password', validators=[DataRequired(message='请输入密码')])